import { Base } from '../utils/base.js';
class Train extends Base {
    constructor() {
        super();
    }
    Lists(callback, params) {
        var that = this;
        var param = {
            url: 'api/training/lists',
            type: 'post',
            data: params,
            sCallback: function (data) {
                data = data;
                if (callback) {
                    callback(data);
                }
            }
        };
        this.request(param);
    }
	Details(callback, params) {
	    var that = this;
	    var param = {
	        url: 'api/training/details',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
	Cimg(callback, params) {
	    var that = this;
	    var param = {
	        url: 'api/training/get_cover',
	        type: 'post',
	        data: params,
	        sCallback: function (data) {
	            data = data;
	            if (callback) {
	                callback(data);
	            }
	        }
	    };
	    this.request(param);
	}
   
}
export { Train };
